package com.pai.entity;
/**
 * User 实体类。 保存用户username，ip，port，headnum信息。
 * @author Jeff
 *
 */
public class User {
	public static final int OFFLINE = 0;
	public static final int ONLINE = 1;
	public static final int UNKNOW = 3;
	
	
	private String username;
	
	private String userIP;
	
	private int userPort;
	
	private int userHeadNum;
	
	private int userstate;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserIP() {
		return userIP;
	}

	public void setUserIP(String userIP) {
		this.userIP = userIP;
	}

	public int getUserPort() {
		return userPort;
	}

	public void setUserPort(int userPort) {
		this.userPort = userPort;
	}

	public int getUserHeadNum() {
		return userHeadNum;
	}

	public void setUserHeadNum(int userHeadNum) {
		this.userHeadNum = userHeadNum;
	}
	

}
